package com.play.ballen.me.entity

import com.play.ballen.interfaces.BottomSheetEntityContract

data class MemberIndexInfo(
    val address: String?,
    val avatar: String,
    val email: String,
    val id: String,
    val invite_code: String,
    val logins: String,
    val money: String,
    val money1: String,
    val money2: String,
    val money3: String,
    val nick_name: String?,
    val parent_id: String,
    val parent_tree: String,
    val private_key: String?,
    val status: String,
    val token: String,
    val rate: String,
    val today_destroy: String,
    val total_destroy: String
)

data class WithDrawInfo(
    val fee: String,
    val least: String,
    val mesh: List<Mesh>,
    val money: String,
    val memo: String
)

data class Mesh(
    val id: String,
    val name: String
)

data class MoneyLogInfo(
    val add_time: String,
    val id: String,
    val money_type: String,
    val number: String,
    val remark: String,
    val status: String,
    val type: String
)

data class RechargeInfo(
    val address: String,
    val qrcode: String,
    val memo: String
)

data class ExtraInfo(
    val fee: String,
    val money: String,
    val receipt: String
)

data class TeamInfo(
    val list: List<TeamRecommend>?,
    val percents: List<String>?,
    val recommend: String,
    val reward: String,
    val total: String
)

data class TeamLevelInfo(
    var title: String
) : BottomSheetEntityContract {
    override fun getItemString(): String {
        return "$title%"
    }

    override fun equals(other: Any?): Boolean {
        return other == title
    }
}

data class TeamRecommend(
    val count: String,
    val email: String,
    val id: String,
    val reg_time: String,
    val task_status: Int,
    val task_income: String
)

data class InvitePosterInfo(
    val qrcode: String,
    val url: String,
    val invite_code: String
)

data class ClaimedInfo(
    val add_time: String,
    val price: String,
    val remark: String,
    val money_type: String
)

data class TransferInfo(
    val least: String,
    val money: String,
    val memo: String
)